package entity;

import java.util.Date;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;


@ManagedBean
@SessionScoped
public class Spieler {
	private String vorName;
	  private String nachName;
	  private Date gebDatum;
	  private String geschlecht;
	  
	  private String userName;
	  private String passwort;
	  private String feld;
	  
	  private String collapsed="false";
	  private String toggle="false";
	  
	public String getToggle() {
		return toggle;
	}

	public void setToggle(String toggle) {
		this.toggle = toggle;
		System.out.println("test");
	}

	public String getCollapsed() {
		return collapsed;
	}

	public void setCollapsed(String collapsed) {
		this.collapsed = collapsed;
	}

	public java.lang.String f()
	  {
		System.out.println("test");
		collapsed = collapsed.compareTo("false")==0?"true":"false";
	  return collapsed;}
	  
	 public String getFeld() {
		return feld;
	}
	public void setFeld(String feld) {
		this.feld = feld;
	}
	public String getVorName() {
		return vorName;
	}
	public void setVorName(String vorName) {
		this.vorName = vorName;
	}
	public String getNachName() {
		return nachName;
	}
	public void setNachName(String nachName) {
		this.nachName = nachName;
	}
	public Date getGebDatum() {
		return gebDatum;
	}
	public void setGebDatum(Date gebDatum) {
		this.gebDatum = gebDatum;
	}
	public String getGeschlecht() {
		return geschlecht;
	}
	public void setGeschlecht(String geschlecht) {
		this.geschlecht = geschlecht;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPasswort() {
		return passwort;
	}
	public void setPasswort(String passwort) {
		this.passwort = passwort;
	}

	  

}
